import { defineStore } from 'pinia'
export const useUserInfo = defineStore('userInfo', {
  state: () => {
    return {
      id: 0,
    }
  },
  actions: {
    setState(state) {
      this.$state = { ...this.$state, ...state }
    },
    logout() {},
  },
  persist: true,
})
